package com.liangplus.elasticsearch.entity.eo;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Mapping;

import java.io.Serializable;

/**
 * t_shr
 * @author 
 */
@Data
@Accessors(chain = true)
@Document(indexName = "liangplus_stockcode",type = "shr")
@Mapping(mappingPath = "stock_elasticlesearch_mapping.json")
public class ShrEO  implements  Serializable {

    /**
     * 股票代码
     */
    @Id
    private String shrCd;
    /**
     *  股票名称
     */
    private String shrNm;

    /**
     *  全拼音
     */
    private String phoFull;
    /**
     * 首字母
     */
    private String phoSht;


    private static final long serialVersionUID = 1L;


}